﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcApplication5.Core
{
    /// <summary>
    /// 
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IPagedList<T> : IPageInfo
    {
        IEnumerable<T> Data { get; set; }
        void Load();
    }

    /// <summary>
    /// 
    /// </summary>
    public interface IPageInfo
    {
        int TotalCount { get; set; }
        int TotalPages { get; set; }
        int CurrentPage { get; set; }
    }
}